package com.teacher;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableOAuth2Client;

import java.text.SimpleDateFormat;
import java.util.Date;

@SpringBootApplication
@EnableEurekaClient
@EnableOAuth2Client
@Slf4j
public class QualityEvaluationCloudTeacherApplication {

	public static void main(String[] args) {
		SpringApplication.run(QualityEvaluationCloudTeacherApplication.class, args);
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		log.info("当前启动时间"+sdf.format(new Date()));
	}

}
